// import qs from 'qs'
import axios from 'axios'
const serverip = 'http://39.105.42.134:17001/commodity'

const api = {
  classificationList: () => {
    return axios.get(serverip + '/classification').then(({ data }) => {
      return data
    })
  },
  avaliableFlashPromotionSession: () => {
    return axios.get(serverip + '/flashPromotionSession/available').then(({ data }) => {
      return data
    })
  }
}
export default api
